package com.example.demo.entity.VO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ToString
public class GoodsVO {

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品销量")
    private Integer goodsSales;

    @ApiModelProperty("商品库存")
    private Integer goodsInventory;

    @ApiModelProperty("发货地址")
    private String goodsAddress;

    @ApiModelProperty("生产日期")
    private LocalDate goodsTime;

    @ApiModelProperty("保质日期")
    private LocalDate goodsOutTime;

    @ApiModelProperty("重量")
    private Double goodsWeight;

    @ApiModelProperty("价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("1 食品 2 用品 3 洗护")
    private Integer goodsTypeId;
}
